package com.aaa.fees.service.ipml;

import com.aaa.entity.BackfeeItem;
import com.aaa.fees.dao.BackfeesItemDao;
import com.aaa.fees.service.BcakfeesItemService;
import com.aaa.vo.Result;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BackfeesItemServiceImpl implements BcakfeesItemService {
    @Autowired
    BackfeesItemDao backfeesItemDao;
    @Override
    public List<BackfeeItem> getBackfeesItem(String backId) {
        QueryWrapper<BackfeeItem> wrapper = new QueryWrapper<>();
        wrapper.eq("back_id" ,backId);
        return backfeesItemDao.selectList(wrapper);
    }
}
